package com.project.bean;
/**用户实体类*/
public class UserBean {
    /**用户id*/
    private int userId;
    /**用户名*/
    private String userName;
    /**等级*/
    private String grade;
    /**密码*/
    private String pwd = "666";
    /**用户真实姓名*/
    private String trueName;


    public UserBean() {
    }

    public UserBean(String userName, String grade,String trueName) {
        this.userName = userName;
        this.grade = grade;
        this.trueName = trueName;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", grade='" + grade + '\'' +
                ", pwd='" + pwd + '\'' +
                ", trueName='" + trueName + '\'' +
                "}\n";
    }
}
